<?php
/**
 * 钻石投票模块-投票列表
 *
 * @author 天涯织梦
 * @url http://bbs.we7.cc/
 */

defined('IN_IA') or exit('Access Denied');
global $_GPC, $_W;
$this->authorization();
if($_W['ispost']){
    $id = intval($_GPC['uid']);
    $pid = intval($_GPC['pid']);
    pdo_update($this->tableuser,array('group_id'=>$pid),array('id'=>$id));
    iajax(1,'设置成功');
}